package lab01;

public class Test04 {
    public static void main(String[] args) {
        int i = 1;
        while (i <= 100) {     //循环条件i<=100
            if (i == 78) {
                break;         //终止条件：i等于78；
            }
            i++;               //循环
        }
        System.out.println(i); //打印跳出循环的i=78
    }
}
